package com.dshore.messagecenter.model;

import java.io.Serializable;

public class AddressEntity implements Serializable{
	 
	private static final long serialVersionUID = -3872062293632291927L;
	
	private String province;
	   private Integer cityCode;
	   private String city;
	   private String district;
	   private String name;
	   private String address;
	   private double lng;
	   private double lat;

	   public static AddressEntity createEmpty() {
	      return new AddressEntity();
	   }

	   public String getProvince() {
	      return this.province;
	   }

	   public Integer getCityCode() {
	      return this.cityCode;
	   }

	   public String getCity() {
	      return this.city;
	   }

	   public String getDistrict() {
	      return this.district;
	   }

	   public String getName() {
	      return this.name;
	   }

	   public String getAddress() {
	      return this.address;
	   }

	   public double getLng() {
	      return this.lng;
	   }

	   public double getLat() {
	      return this.lat;
	   }

	   public void setProvince(final String province) {
	      this.province = province;
	   }

	   public void setCityCode(final Integer cityCode) {
	      this.cityCode = cityCode;
	   }

	   public void setCity(final String city) {
	      this.city = city;
	   }

	   public void setDistrict(final String district) {
	      this.district = district;
	   }

	   public void setName(final String name) {
	      this.name = name;
	   }

	   public void setAddress(final String address) {
	      this.address = address;
	   }

	   public void setLng(final double lng) {
	      this.lng = lng;
	   }

	   public void setLat(final double lat) {
	      this.lat = lat;
	   }

	   @Override
	   public String toString() {
	      return "AddressEntity(province=" + this.getProvince() + ", cityCode=" + this.getCityCode() + ", city=" + this.getCity() + ", district=" + this.getDistrict() + ", name=" + this.getName() + ", address=" + this.getAddress() + ", lng=" + this.getLng() + ", lat=" + this.getLat() + ")";
	   }
}
